package demo4;

import java.util.ArrayDeque;
import java.util.Deque;
import java.util.LinkedList;
import java.util.Stack;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: ASUS
 * Date: 2023-12-11
 * Time: 17:06
 */
public class Test {
    public static void main(String[] args) {
        Deque<Integer> deque = new LinkedList<>();
        deque.offer(1);
        Deque<Integer> stack = new LinkedList<>();
        stack.push(10);
        Stack<Integer> stack1 = new Stack<>();
        Deque<Integer> stack2 = new ArrayDeque<>();
    }

}
